package com.cema.manage.project.manage.adRecordSecondary.domain;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 副广记录表 biz_ad_record_secondary
 *
 * @author reasahi
 * @date 2024-09-29
 */
@TableName(value = "biz_ad_record_secondary")
public class AdRecordSecondary extends Model<AdRecordSecondary> {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Integer id;
    /**
     * 用户Id
     */
    @TableField(value = "us_id")
    private Integer usId;
    /**
     * 用户名
     */
    @TableField(value = "us_nickname")
    private String usNickname;
    /**
     * 实际金额
     */
    @TableField(value = "ars_reality_money")
    private Integer arsRealityMoney;
    /**
     * 渠道穿山甲（ad_pangle）、快手（ad_kuaishou）、优量汇（ad_gdt）
     */
    @TableField(value = "ars_channel")
    private String arsChannel;
    /**
     * 代码位
     */
    @TableField(value = "ars_mediation_rit")
    private String arsMediationRit;
    /**
     * 广告代码位
     */
    @TableField(value = "ars_position_code")
    private String arsPositionCode;
    /**
     * 广告位
     */
    @TableField(value = "ars_prime_rit")
    private String arsPrimeRit;
    /**
     * 显示广告唯一ID
     */
    @TableField(value = "ars_show_id")
    private String arsShowId;
    /**
     * 广告位置
     */
    @TableField(value = "ars_position")
    private Integer arsPosition;

    /**
     * 广告位置
     */
    @TableField(value = "uv_channel")
    private Integer uvChannel;
    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    public String getArsShowId() {
        return arsShowId;
    }

    public void setArsShowId(String arsShowId) {
        this.arsShowId = arsShowId;
    }

    /**
     * 设置：主键
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取：主键
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置：用户Id
     */
    public void setUsId(Integer usId) {
        this.usId = usId;
    }

    /**
     * 获取：用户Id
     */
    public Integer getUsId() {
        return usId;
    }

    /**
     * 设置：用户名
     */
    public void setUsNickname(String usNickname) {
        if (usNickname != null) {
            if (usNickname.trim().isEmpty()) {
                this.usNickname = null;
            } else {
                this.usNickname = usNickname;
            }
        }
    }

    /**
     * 获取：用户名
     */
    public String getUsNickname() {
        return usNickname;
    }

    public Integer getArsRealityMoney() {
        return arsRealityMoney;
    }

    public void setArsRealityMoney(Integer arsRealityMoney) {
        this.arsRealityMoney = arsRealityMoney;
    }

    /**
     * 设置：渠道穿山甲（ad_pangle）、快手（ad_kuaishou）、优量汇（ad_gdt）
     */
    public void setArsChannel(String arsChannel) {
        if (arsChannel != null) {
            if (arsChannel.trim().isEmpty()) {
                this.arsChannel = null;
            } else {
                this.arsChannel = arsChannel;
            }
        }
    }

    /**
     * 获取：渠道穿山甲（ad_pangle）、快手（ad_kuaishou）、优量汇（ad_gdt）
     */
    public String getArsChannel() {
        return arsChannel;
    }

    /**
     * 设置：代码位
     */
    public void setArsMediationRit(String arsMediationRit) {
        if (arsMediationRit != null) {
            if (arsMediationRit.trim().isEmpty()) {
                this.arsMediationRit = null;
            } else {
                this.arsMediationRit = arsMediationRit;
            }
        }
    }

    /**
     * 获取：代码位
     */
    public String getArsMediationRit() {
        return arsMediationRit;
    }

    public String getArsPositionCode() {
        return arsPositionCode;
    }

    public void setArsPositionCode(String arsPositionCode) {
        if (arsPositionCode != null) {
            if (arsPositionCode.trim().isEmpty()) {
                this.arsPositionCode = null;
            } else {
                this.arsPositionCode = arsPositionCode;
            }
        }
    }

    /**
     * 设置：广告位
     */
    public void setArsPrimeRit(String arsPrimeRit) {
        if (arsPrimeRit != null) {
            if (arsPrimeRit.trim().isEmpty()) {
                this.arsPrimeRit = null;
            } else {
                this.arsPrimeRit = arsPrimeRit;
            }
        }
    }

    /**
     * 获取：广告位
     */
    public String getArsPrimeRit() {
        return arsPrimeRit;
    }

    /**
     * 设置：广告位置
     */
    public void setArsPosition(Integer arsPosition) {
        this.arsPosition = arsPosition;
    }

    /**
     * 获取：广告位置
     */
    public Integer getArsPosition() {
        return arsPosition;
    }

    /**
     * 设置：创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取：创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    public Integer getUvChannel() {
        return uvChannel;
    }

    public void setUvChannel(Integer uvChannel) {
        this.uvChannel = uvChannel;
    }
}

